<div id="nav">
	<div id="head-nav">
		<div id="header">
			<div class="nav-left">
				<span>快讯：</span>
				<div class="news-flash">
				    <ul>
				      <li>杭州市人民政府副市长陈卫强：四大措施，抢占先机，大力发展区块链产业</li>
				      <li>杭州市人民政府副市长陈卫强：四大措施，抢占先机，大力发展区块链产业</li>
				      <li>杭州市人民政府副市长陈卫强：四大措施，抢占先机，大力发展区块链产业</li>
				      <li>杭州市人民政府副市长陈卫强：四大措施，抢占先机，大力发展区块链产业</li>
				    </ul>
				</div>
			</div>
			<div class="nav-right">
				<div style="float: right;">
			    <ul>
			      <li><img src="./images/User_Icon.png" alt=""></li>
			      <li><a href="login.php"><span>登陆</span></a></li>
			      <li><img src="./images/pillar1.png" alt="" style="width:5px;"></li>
			      <li><a href="register.php"><span>立即注册</span></a></li>
			      <li><img src="./images/vx.png" alt=""></li>
			      <li><img src="./images/wb.png" alt=""></li>
			      <li><img src="./images/code.png" alt=""></li>
			    </ul>
				</div>
			</div>
		</div>
	</div>
	<div class="nav">
		<div class="box">
			<div class="nav-logo">
				<a href="index.php"><img src=""></a>
			</div>
			<div class="nav-ul">
				<ul class="one-ul">
					<li><a href="javascript:;">资讯</a></li>
					<li><a href="javascript:;">周刊</a></li>
					<li><a href="javascript:;">视频</a></li>
					<li><a href="javascript:;">专栏</a></li>
					<li><a href="javascript:;">研究院</a></li>
				</ul>
			</div>
			<div class="nav-solo">
				<div class="solo">
					<input type="" name="" placeholder="搜索...">
					<span><img src="./images/Search_Icon.png"></span>
				</div>
			</div>
			<div class="nav-plue">
				<img src="./images/bj.png">
				<span>专栏申请</span>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	//头部导航接口
	var top_nav_url = 'http://'+document.domain+"/index/data/NavCat";
	$.ajax({
		type: 'POST',
        url: top_nav_url,
        data:{site:1},
        dataType: 'json',
        success: function(result){
        	var html = '';
			result.forEach((item,i)=>{
				html += '<li><a href="'+result[i]['url']+'">'+result[i]['name']+'</a></li>';
			})
			$('.one-ul').html(html);
        },
	})
</script>